
package com.thon.service.project;

import java.util.List;

import com.thon.dao.util.Page;
import com.thon.entity.project.Data;

/**
 * @file DataService.java
 * @author manpiaoyi
 * @email manpiaoyi@126.com
 * @date 2014-10-31
 * @description 数据元服务
 */
public interface DataService<T> {
	
	public Data read(Integer id);	
	
	public List<T> readList();
	
	public Page<T> readListPage(Integer pageNo,Integer pageSize);

    public String create(T data);
    
    public String create(T[]data);
    
    public String delete(Integer id);
    
    public String update(T data);
}